<style>
.content-group {background:#fff;border-radius: 0.5rem;margin-bottom:0.39rem}
.merchname {display:none}
.fui-tab-scroll .item a {color:#fff;font-weight:400}
.fui-tab-scroll .item.on,.fui-tab-scroll .item.on a{color:#fff;}
.fui-tab-scroll .item.on:before {background:linear-gradient(to right,rgba(255,255,255,1),rgba(255,255,255,0));}
.fui-icon-group .fui-icon-col {
    margin: 0.1rem 0;
}
.carousel {margin-top:0}
.fui-header:after {
	border-bottom: 0 solid #D9D9D9;
}
.fui-notice:after, .fui-notice:before  {
	border-bottom: 0 solid #D9D9D9;
	border-top: 0 solid #D9D9D9;
}
.bottombg {position: absolute;margin-top:-0.5rem;width:100%;height:0.5rem;border-top-right-radius:0.5rem;border-top-left-radius:0.5rem;}
.topbg {height:4rem;}
.topbg.nosearch{height:2rem;}
.search-input i {
    color: {{main.syscolor||'#b4b4b4'}};
}
.search-input input {
	border: 0 solid #b4b4b4;
}
.radius .jy-group {border-radius:0.5rem;margin:0.2rem 0.5rem}
</style>
<div ng-include="sys_html('common/_header','','','jy_weishop')"></div>
<div ng-if="pagedata.nodatapic_close" class="fui-page fui-page-current page-goods-list">
<div class='fui-content' style="top:0">
	<div ng-class="{'topbg':1,'nosearch':pagedata.setting.issearch==1}" style="position: relative;text-align:center;width:100%;background: {{main.syscolor || '#7c1cc9'}};">
		<div class="fui-cell-group" style="margin-top:0;background:none;">
		<div class="fui-cell" style="background:none;padding:0 0.5rem">
			<div class="fui-cell-label" style="width:auto;line-height: 2.4rem;">
				<img style="height:1.2rem" ng-src="{{tomedia(pagedata.setting.toplogo) || '../addons/jy_weishop/resource/images/logo.png'}}"/>
			</div>
			<div class="fui-cell-info" style="color:#fff;text-align:right">
				<span ng-if="pagedata.setting.no_location!=1" class="overflow-h" style="margin-right:0.5rem;">
					<i class="icon jinyunicon icon-map" style="font-size: 0.65rem;"></i>
					<span style="font-size: 0.65rem;width:6rem;overflow: hidden">{{pagedata.pcd.street||'默认收货地址'}}</span>
				</span>
			</div>
			<div class="fui-cell-remark noremark" style="color:#fff;">
				<i ng-if="main.isapp!=1 && main.fromh5wxapp!=1" class="icon icon-saoyisao1" ng-click="pagedata.scancode()" style="font-size: 0.8rem;margin-right:0.2rem"></i>
				<i ng-if="main.isapp!=1 && main.fromh5wxapp!=1" class="icon icon-fenxiang2" onclick="$('#showsharecover').modal();" style="font-size: 0.85rem;margin-right:0.2rem"></i>
				<i class="icon icon-wo1" ng-click="access_json('jy_weishop/member.index/')" style="font-size: 0.9rem;"></i>
			</div>
		</div>
		</div>
		<div ng-if="pagedata.setting.issearch!=1" class="fui-cellone" style="padding-bottom:0;padding-top:0;padding-right:0.4rem;z-index: 108;top:0;">
			 <div class="fui-cellone-info">
				<div class="search-input" style="height:1.6rem">
					<form action="javascript:return true">
					<i id="searchsub" class="icon icon-sousuo1 bold" ng-click="access_json('jy_weishop/goods.index//keyword='+pagedata.params.keyword)" style="line-height: 1.7rem;"></i>
					<input type="search" placeholder="搜索商品" class="search" ng-model="pagedata.params.keyword" style="height:1.6rem;text-align: left; color: #999; font-size:0.6rem;background:#f9f9f9;border-radius: 1rem;" />
					</form>
				</div>
			 </div>
			 <div class="fui-cellone-remark noremark">
			 	<span style="margin-left:0.3rem;font-size: 0.75rem;color:#fff" ng-click="access_json('jy_weishop/goods.index//keyword='+pagedata.params.keyword)">搜索</span>
				<span ng-click="access_json('jy_weishop/shop.groups/')" style="background:#;margin-left:0.3rem;font-size: 0.75rem;color:#fff"><i class="icon icon-viewlist"></i> 分类</span>
			 </div>
		</div>
	</div>
	<div class="fui-tab-scroll" style="background: {{main.syscolor || '#7c1cc9'}};padding-bottom:0.5rem;height:2.9rem">
		<div ng-class="{'item':1,'on':pagedata.params.pid==0}" style="height:2rem;line-height:1.5rem"><a href="javascript:;" ng-click="pagedata.params.pid=0;pagedata.childs=[];pagedata.params.order='isrecommand';tool.get_list('jy_weishop/goods.index/getlist/',true)">推荐</a></div>
		<div ng-repeat="tab in pagedata.p_group" style="height:2rem;line-height:1.5rem" ng-class="{'item':1,'on':pagedata.params.pid==tab.id}"><a href="javascript:;" ng-click="pagedata.params.pid=tab.id;pagedata.params.cid=0;pagedata.params.order='';pagedata.groupkey=$index;pagedata.childs=tab.c_group;tool.get_list('jy_weishop/goods.index/getlist/pcate='+tab.id,true)">{{tab.title}}</a></div>
		<div ng-if="!pagedata.p_group || pagedata.p_group.length<1" ng-class="{'item':1,'on':pagedata.params.pid==-1}" style="height:2rem;line-height:1.5rem"><a href="javascript:;" ng-click="pagedata.params.pid=-1;pagedata.params.cid=0;pagedata.groupkey=$index;pagedata.childs=[];pagedata.params.order='';tool.get_list('jy_weishop/goods.index/getlist/',true)">其他商品</a></div>
	</div>
	<div class="bottombg" style="background:#f7f7f7;"></div>
	<div class="fui-icon-group col-5" ng-if="pagedata.params.pid>0">
		<a ng-repeat="child in pagedata.childs" ng-click="pagedata.params.cid=child.id;tool.get_list('jy_weishop/goods.index/getlist/',true);" class="fui-icon-col external">
			<div class="icon"><img ng-src="{{tomedia(child.image) || '../addons/jy_weishop/images/nogrouppic.png'}}" ></div>
			<div ng-class="{'text':1,'active':pagedata.params.cid==child.id}" style="font-size: 0.65rem;">{{child.title}}</div>
		</a>
	</div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.ishdps" ng-include="sys_html('shop/_hdps','','','jy_weishop')" class="radius" style="padding:0 0.5rem;"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.isswiper" style="padding: 0.3rem;padding-bottom:0;width:100%">
		<div class="bgnone" ng-include="sys_html('shop/_swiper','','','jy_weishop')"></div>
	</div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.isbankuai1" class="radius" style="padding: 0.3rem;width:100%">
		<div class="bgnone" ng-include="sys_html('shop/_bankuai1','','','jy_weishop')"></div>
	</div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.isnotice" ng-include="sys_html('shop/_notice','','','jy_weishop')" class="radius" style="padding:0 0.5rem;"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.iscoupon" ng-include="sys_html('shop/_coupon','','','jy_weishop')" class="orange" style="padding:0 0.3rem;margin-top:0.4rem"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.iscube" class="radius" style="margin-top:0.4rem" ng-include="sys_html('shop/_fangcube','','','jy_weishop')"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.isnewgoods" class="radius bgfff" style="padding-top:0.4rem;" ng-include="sys_html('shop/_newgoods','','','jy_weishop')"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.ismerch && pagedata.jy_merch" class="radius bgfff" style="padding-top:0.4rem" ng-include="sys_html('shop/_merchs','','','jy_weishop')"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.islikegoods" class="radius" style="padding-top:0.4rem" ng-include="sys_html('shop/_likegoods','','','jy_weishop')"></div>
	<div ng-if="pagedata.params.pid==0 && pagedata.setting.is_diyhtml==1" class="radius">
		<div class="bgnone" ng-include="sys_html('shop/_diyhtml','','','jy_weishop')"></div>
	</div>
	<div ng-if="pagedata.setting.isgoodstwo!=1 || pagedata.params.pid!=0" style="margin-top:-0.2rem;padding:0 0.3rem" ng-include="sys_html('shop/_showtypegoods','','','jy_weishop')"></div>
</div>
</div>
<div ng-include="sys_html('shop/_wechatcode')"></div>
<div ng-include="sys_html('common/_share','','','jy_weishop')"></div>
<div ng-include="sys_html('common/_sales','','','jy_weishop')"></div>
<div ng-include="sys_html('common/_menu','','','jy_weishop')"></div>
<div ng-include="sys_html('common/_footer','','','jy_weishop')"></div>
<div ng-if="pagedata.nodatapic_close" ng-include="sys_html('common/_coupon',true)"></div>
<div ng-if="pagedata.nodatapic_close" ng-include="sys_html('common/_h5game',true)"></div>
<div ng-include="sys_html('common/_gotop',true)"></div>
<div ng-include="sys_html('common/_welcomehdp',true)"></div>
<div ng-include="sys_html('_indexend')"></div>
